﻿<phone:PhoneApplicationPage 
    x:Class="SpeedRun.Profile"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    Foreground="CornflowerBlue"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
     shell:SystemTray.ForegroundColor="CornflowerBlue"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <!--Pivot Control-->
        <controls:Pivot x:Name="myPivot" Foreground="CornflowerBlue" >
            <!--Pivot item one-->
            <controls:PivotItem Header="Create" x:Name="create" Loaded="PivotItem_Loaded" IsEnabled="True">
                <Grid>
                    <StackPanel>
                        <TextBlock Text="Name" />
                        <TextBox x:Name="name" />
                        <TextBlock Name="Age" Text="Age" />
                        <TextBox x:Name="age" />
                        <TextBlock Text="Weight" />
                        <TextBox x:Name="weight" />
                        <toolkit:ListPicker FullModeHeader="Sex"  x:Name="sexBox" Header="Sex" >
                          
                        </toolkit:ListPicker>
                        <toolkit:ListPicker FullModeHeader="Body Type"  x:Name="bodyType" Header="Body Type"  />
                        <Button Content="Save" Click="Button_Click" />
                    </StackPanel>
                </Grid>
            </controls:PivotItem>

            <!--Pivot item two-->
            <controls:PivotItem Header="Edit" Loaded="PivotItem_Loaded_1" x:Name="edit">
                <Grid>
                    <StackPanel>
                        <TextBlock Text="Name" />
                        <TextBox x:Name="newname" />
                        <TextBlock Name="hfgh" Text="Age" />
                        <TextBox x:Name="newage" />
                        <TextBlock Text="Weight" />
                        <TextBox x:Name="newweight" />
                        <toolkit:ListPicker x:Name="newbodyType" Header="Body Type" />
                        <toolkit:ListPicker x:Name="newsexBox" Header="Sex" >
                        </toolkit:ListPicker>
                        <Button Content="Save" Click="Button_Click_1" />
                    </StackPanel>
                </Grid>
            </controls:PivotItem>
            
            <controls:PivotItem Header="Settings" x:Name="settings">
                <Grid>
                    <StackPanel>
                        <toolkit:ToggleSwitch Foreground="CornflowerBlue"  Content="Location" x:Name="location" Checked="timer_Checked" Unchecked="timer_Checked" />
                        <toolkit:ToggleSwitch Foreground="CornflowerBlue"  Content="Enable Timer" x:Name="timer" Checked="timer_Checked" Unchecked="timer_Checked"/>
                        <toolkit:ToggleSwitch  Foreground="CornflowerBlue"  Content="Music" x:Name="music" Checked="timer_Checked" Unchecked="timer_Checked" />
                        <toolkit:ToggleSwitch Foreground="CornflowerBlue"  Content="Sound Assist" x:Name="audio" Checked="timer_Checked" Unchecked="timer_Checked" />
                        <toolkit:ToggleSwitch Foreground="CornflowerBlue"  Content="Summary Report" x:Name="report" Checked="timer_Checked" Unchecked="timer_Checked" />
                    </StackPanel>
                </Grid>
            </controls:PivotItem>
        </controls:Pivot>
    </Grid>

    <!--Sample code showing usage of ApplicationBar-->
    <!--<phone:PhoneApplicationPage.ApplicationBar>
        <shell:ApplicationBar IsVisible="True" IsMenuEnabled="True">
            <shell:ApplicationBarIconButton x:Name="appbar_button1" IconUri="/Images/appbar_button1.png" Text="Button 1"/>
            <shell:ApplicationBarIconButton x:Name="appbar_button2" IconUri="/Images/appbar_button2.png" Text="Button 2"/>
            <shell:ApplicationBar.MenuItems>
                <shell:ApplicationBarMenuItem x:Name="menuItem1" Text="MenuItem 1"/>
                <shell:ApplicationBarMenuItem x:Name="menuItem2" Text="MenuItem 2"/>
            </shell:ApplicationBar.MenuItems>
        </shell:ApplicationBar>
    </phone:PhoneApplicationPage.ApplicationBar>-->
    
</phone:PhoneApplicationPage>